package com.ruoyi.subject.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysUser;

/**
 * 课题评审对象 subject_judge
 * 
 * @author yepanpan
 * @date 2021-03-15
 */

@ApiModel("课题评审实体")
@Data
public class SubjectJudge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 课题ID */
    @ApiModelProperty("课题ID")
    private Long taskId;

    @Excels({
    	@Excel(name = "课题", targetAttr = "name")
    })
    private SubjectTask task;

    /** 评审类型 */
    @Excel(name = "评审类型", dictType = "judge_type")
    @ApiModelProperty("评审类型")
    private String type;

    /** 审核人 */
    @ApiModelProperty("审核人")
    private Long checkUserId;

    @Excels({
    	@Excel(name = "评审人", targetAttr = "nickName")
    })
    private SysUser checkUser;

    /** 审核结果 */
    @Excel(name = "审核结果", dictType = "check_status")
    @ApiModelProperty("审核结果")
    private String checkStatus;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("审核时间")
    private Date checkTime;

    /** 审核说明 */
    @Excel(name = "审核说明")
    @ApiModelProperty("审核说明")
    private String checkComment;


    private Long[] userIds;
}
